Conditional Prompts
Conditional prompts instruct the AI to provide different responses based on specific conditions or scenarios.
Key Characteristics
- Use "if...then..." or scenario-based instructions
- Useful for troubleshooting, decision trees, or adaptive content
- Can handle multiple possible outcomes
When to Use
- For support, diagnostics, or branching logic
- When responses depend on user input or context
Example Prompts
- "If the user is a beginner, explain the basics. If advanced, provide expert tips."
- "If the answer is yes, list the next steps. If no, explain why."
Example Result
If you're a beginner, start with the basics: learn the main features and explore tutorials. If you're advanced, dive into customization and advanced settings for greater control.
Best Practices
- Clearly define each condition
- Ask for separate responses for each scenario
- Use for adaptive or personalized content